package com.alibaba.org.mapper;

import com.alibaba.basic.mapper.BaseMapper;
import com.alibaba.org.domain.Shop;
import com.alibaba.org.dto.ShopDto;

import java.util.List;

public interface ShopMapper extends BaseMapper<Shop> {

    /**
     * 店铺入住审核
     * @param shop
     * @return
     */
    Shop loadByMessage(Shop shop);


    /**
     * 获取每一个店铺的状态
     * @return
     */
    List<ShopDto> getShopState();
}
